
// 路由懒加载，引入并注册组件
const Home = () => import('@/pages/Home')
const Test = ()=> import ('@/pages/Test')

export default [
  {
    path: '/home',
    component:Home
  },
  {
    path: '/test',
    component:Test
  },
  {
    path: '/',
    redirect:'/home'
  }
]